package cn.wellwan.mybatis.entity;

import cn.wellwan.mybatis.utils.Gender;
import org.joda.time.DateTime;

import java.io.Serializable;

public class User implements Serializable {
    private Long id;

    private String unionId;

    private String nickName;

    private Gender gender;

    private String province;

    private String city;

    private String country;

    private String avatarUrl;

    private DateTime createTime;

    private Boolean concernState;

    private String appOpenId;

    private String openId;

    private Integer testPerson;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId == null ? null : unionId.trim();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public Gender getGender () {
        return gender;
    }

    public void setGender (Gender gender) {
        this.gender = gender;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl == null ? null : avatarUrl.trim();
    }

    public DateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(DateTime createTime) {
        this.createTime = createTime;
    }

    public Boolean getConcernState() {
        return concernState;
    }

    public void setConcernState(Boolean concernState) {
        this.concernState = concernState;
    }

    public String getAppOpenId() {
        return appOpenId;
    }

    public void setAppOpenId(String appOpenId) {
        this.appOpenId = appOpenId == null ? null : appOpenId.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public Integer getTestPerson() {
        return testPerson;
    }

    public void setTestPerson(Integer testPerson) {
        this.testPerson = testPerson;
    }
}